import { Application } from "https://deno.land/x/oak@v12.6.0/mod.ts";
import authRouter from "./routes/auth.ts";  // 引入 auth.ts

const app = new Application();

// 配置路由
app.use(authRouter.routes());
app.use(authRouter.allowedMethods());

// 启动服务
console.log("Server is running on http://localhost:7777");
await app.listen({ port: 7777 });
